import request from "@/utils/request"

// 查询全部用户
export function login(data) {
    return request({
        url: '/user/login',
        method: 'post',
        data
    })
}

export function findUser(params) {
    return request({
        url: '/user/list',
        method: 'get',
        params
    })
}


export function delBatch(query) {
    return request({
        url: '/user/del/batch',
        method: 'get',
        params: query
    })
}

export function addUser(data) {
    return request({
        url: '/user/del/add',
        method: 'post',
        data
    })
}
